package com.aiti.lulian.entity.gov;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("政务名片-项目实体")
@TableName("card_gov_project")
public class CardGovProject {

    @ApiModelProperty("主键")
    @TableId(value = "base_id", type = IdType.ASSIGN_UUID)
    private String baseId;

    @ApiModelProperty("项目名称")
    @TableField("base_name")
    private String baseName;

    @ApiModelProperty("项目简介")
    @TableField("base_introduction")
    private String baseIntroduction;

    @ApiModelProperty("最高补贴金额")
    @TableField("maximum_subsidy_amount")
    private String maximumSubsidyAmount;

    @ApiModelProperty("项目主图")
    @TableField("main_pic")
    private String mainPic;

    @ApiModelProperty("省")
    @TableField("province")
    private String province;

    @ApiModelProperty("市")
    @TableField("city")
    private String city;

    @ApiModelProperty("区/县")
    @TableField("county")
    private String county;

    @ApiModelProperty("创建者")
    @TableField("creator")
    private String creator;

    @ApiModelProperty("创建时间")
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;

    @ApiModelProperty("更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField(value = "base_update_time", fill = FieldFill.UPDATE)
    private Date baseUpdateTime;
}
